package com.ruoyi.jxxwx.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 巡查记录对象 jxx_patrol
 * 
 * @author wh
 * @date 2025-04-10
 */
public class JxxPatrol extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 巡查记录主键 */
    private Long patrolId;

    /** 巡查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "巡查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date patrolTime;

    /** 场所id */
    @Excel(name = "场所id")
    private Long placeId;

    /** 巡查人 */
    @Excel(name = "巡查人")
    private String patrolUserName;

    /** 巡查单位 */
    @Excel(name = "巡查单位")
    private String patrolDept;

    /** 巡检辖区 */
    @Excel(name = "巡检辖区")
    private String patrolArea;

    /** 巡查图片地址 */
    @Excel(name = "巡查图片地址")
    private String patrolPictureUrl;

    /** 巡查说明 */
    @Excel(name = "巡查说明")
    private String patrolResult;

    /** 预留字段 */
    @Excel(name = "预留字段")
    private String reserve;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private String reserve2;

    /** 预留字段3 */
    @Excel(name = "预留字段3")
    private String reserve3;

    public void setPatrolId(Long patrolId) 
    {
        this.patrolId = patrolId;
    }

    public Long getPatrolId() 
    {
        return patrolId;
    }
    public void setPatrolTime(Date patrolTime) 
    {
        this.patrolTime = patrolTime;
    }

    public Date getPatrolTime() 
    {
        return patrolTime;
    }
    public void setPlaceId(Long placeId) 
    {
        this.placeId = placeId;
    }

    public Long getPlaceId() 
    {
        return placeId;
    }
    public void setPatrolUserName(String patrolUserName) 
    {
        this.patrolUserName = patrolUserName;
    }

    public String getPatrolUserName() 
    {
        return patrolUserName;
    }
    public void setPatrolDept(String patrolDept) 
    {
        this.patrolDept = patrolDept;
    }

    public String getPatrolDept() 
    {
        return patrolDept;
    }
    public void setPatrolArea(String patrolArea) 
    {
        this.patrolArea = patrolArea;
    }

    public String getPatrolArea() 
    {
        return patrolArea;
    }
    public void setPatrolPictureUrl(String patrolPictureUrl) 
    {
        this.patrolPictureUrl = patrolPictureUrl;
    }

    public String getPatrolPictureUrl() 
    {
        return patrolPictureUrl;
    }
    public void setPatrolResult(String patrolResult) 
    {
        this.patrolResult = patrolResult;
    }

    public String getPatrolResult() 
    {
        return patrolResult;
    }
    public void setReserve(String reserve) 
    {
        this.reserve = reserve;
    }

    public String getReserve() 
    {
        return reserve;
    }
    public void setReserve2(String reserve2) 
    {
        this.reserve2 = reserve2;
    }

    public String getReserve2() 
    {
        return reserve2;
    }
    public void setReserve3(String reserve3) 
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3() 
    {
        return reserve3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patrolId", getPatrolId())
            .append("patrolTime", getPatrolTime())
            .append("placeId", getPlaceId())
            .append("patrolUserName", getPatrolUserName())
            .append("patrolDept", getPatrolDept())
            .append("patrolArea", getPatrolArea())
            .append("patrolPictureUrl", getPatrolPictureUrl())
            .append("patrolResult", getPatrolResult())
            .append("reserve", getReserve())
            .append("reserve2", getReserve2())
            .append("reserve3", getReserve3())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
